package com.ydd.constans;

import android.Manifest;
import android.os.Environment;

/**
 * Created by tao on 17-3-13.
 */

public class Constans {
    /**
     * Bmob
     */
    public static final String APPLICATION_ID_BMOB = "22bf37f85c171e56de7369f917e91b5d";
    public static final String HOME_DATA_ID_OBJECT = "m083NNNe";

    /**
     * 权限常量相关
     */
    public static final int WRITE_READ_EXTERNAL_CODE = 0x01;
    public static final String[] WRITE_READ_EXTERNAL_PERMISSION = new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.READ_EXTERNAL_STORAGE};

    public static final int HARDWEAR_CAMERA_CODE = 0x02;
    public static final String[] HARDWEAR_CAMERA_PERMISSION = new String[]{Manifest.permission.CAMERA};

    //整个应用文件下载保存路径
    public static String APP_PHOTO_DIR = Environment.
            getExternalStorageDirectory().getAbsolutePath().
            concat("/user_business/photo/");
}
